package cn.iocoder.yudao.module.pypm.controller.admin.productinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.*;


@Schema(description = "管理后台 - 产品信息新增/修改 Request VO")
@Data
public class ProductInfoSaveReqVO {

    @Schema(description = "产品信息ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "21122")
    private Long id;

    @Schema(description = "产品名称", example = "王五")
    private String name;

    @Schema(description = "描述", example = "你说的对")
    private String description;

    @Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2889")
    @NotNull(message = "项目ID不能为空")
    private Long projectId;

}